<template>
  <div>
<!--这个页面用来测试写好的组件，在平台框里的显示效果-->
<!--    <flow-skip-inst ref="flowSkipInst" sourceType="McrVisitingApply" :disabled="false"></flow-skip-inst>-->
    <WBS-gantt></WBS-gantt>
  </div>
</template>

<script>
  import FlowSkipInst from "../baseFlowSkipIns/flowSkipInst"
  import WBSGantt from "../ganttChart/WBSGantt"

  export default {
  components: { FlowSkipInst, WBSGantt },
  data() {
    return {}
  },
  mounted() {
    // this.$refs.flowCheckItemInst.flowid = 21030300001002
    // this.$refs.flowCheckItemInst.nodeid = 21030900001027
    // this.$refs.flowCheckItemInst.flowinsid = 21102800001002
    // this.$refs.flowCheckItemInst.nodeinsid = 21102800001013
    // this.$refs.flowCheckItemInst.open()
    //
    // this.$refs.flowFileInst.flowid = 21030300001002
    // this.$refs.flowFileInst.nodeid = 21030900001027
    // this.$refs.flowFileInst.flowinsid = 21102800001002
    // this.$refs.flowFileInst.nodeinsid = 21102800001013
    // this.$refs.flowFileInst.open()
    //
    // this.$refs.flowRoleInst.flowid = 21030300001002
    // this.$refs.flowRoleInst.flowinsid = 21102800001002
    // this.$refs.flowRoleInst.approvalNodeModel = {
    //   sourceid: 21102800000001,
    //   sourcetype: 'McrVisitingApply',
    //   approvalparam: '{"roleAll": 2}'
    // }
    // this.$refs.flowRoleInst.open()
    //
    // this.$refs.flowActivityInst.flowid = 21030300001002
    // this.$refs.flowActivityInst.nodeid = 21030900001013
    // this.$refs.flowActivityInst.flowinsid = 21102800001002
    // this.$refs.flowActivityInst.nodeinsid = 21110100000002
    // this.$refs.flowActivityInst.open()
    //
    // this.$refs.flowActivityViewInst.id = 21102800000001
    // this.$refs.flowActivityViewInst.open()
    //
    // this.$refs.flowSkipInst.id = 21092700000004
    // this.$refs.flowSkipInst.flowid = 21030300001002
    // this.$refs.flowSkipInst.open()
  }
}
</script>

<style></style>
